package com.pearl.jacksoncore.demo.databind.custom;

import com.fasterxml.jackson.databind.*;
import com.fasterxml.jackson.databind.deser.BeanDeserializerModifier;
import com.fasterxml.jackson.databind.ser.BeanSerializerModifier;
import com.fasterxml.jackson.databind.type.CollectionType;

/**
 *
 * @author TD
 * @version 1.0
 * @date 2024/4/12
 */
public class ListToStringBeanBeanDeserializerModifier extends BeanDeserializerModifier {

    public JsonDeserializer<?> modifyCollectionDeserializer(DeserializationConfig config, CollectionType type, BeanDescription beanDesc, JsonDeserializer<?> deserializer) {
        return ListToStringJsonDeserializer.instance;
    }
}

